function MyCouJiang(index,func,start,sleep){
	var that = this;
	if(!start){
		start = 500;
	}
	this.start = start;
	if(!sleep){
		sleep = 50;
	}
	if(!this.isClick){
		return;
	}
	if(func){
		this.func = func;
	}
	this.isClick = true;
	this.sleep = sleep;
	this.index = index;
	this.i=0;
	this.totalCount = (Math.ceil(Math.random()*5)+3)*8+index;
	this.zong = this.totalCount;
	this.kaishi = function(){
		that.isClick = false;
		that.totalCount--;
		that.i++;
		if(that.totalCount>0){
			if(that.i<8){
				if(that.start>50){
					that.start = that.start-50;
				}
			}else if(that.i>=that.zong-8){
				that.start = that.start+50;
			}
			if(that.func){
				that.func(i);
			}
			setTimeout(that.kaishi,that.start);
		}else{
			// console.log(i);
			that.isClick = true;
			if(that.func){
				that.func(i);
			}
		}
	}
	this.kaishi();
	
}